*NSL (2018) Stacked Replication Data*

**NOTE: To run this file in Stata, users will have to download the 'interflex' package
net search interflex 

********************
**Figure 2 Panel B**
********************
*Left Graph
interflex zlocineq zpbelow30zip pabove100zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)
mat list r(estBin)
*Right Graph
interflex zlocineq zpbelow25zip pabove125zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)
mat list r(estBin)

***************************************
**Figure 3 Panel B; Appendix Table A2**
***************************************

*Gini Coefficient
reg zlocineq zgini16zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)

*80/20 Ratio
reg zlocineq zratio16zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)

*Top 5% Share
reg zlocineq ztop5share16zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)

*Top-Concentrated and Bottom-Concentrated
reg zlocineq zmidlow16zip ztop5mid16zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)

*%Below $25K and %Above $125K
reg zlocineq zpbelow25zip zpabove125zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)

*%Below $25K at 3 bins of Above $125K
interflex zlocineq zpbelow25zip pabove125zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)
mat list r(estBin)

***************************************
**Appendix Table A4**
***************************************
*Column 1
reg zlocineq zrHHIm16zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)
*Column 2
reg zlocineq zrHHIc16zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)

***************************************
**Appendix Figure A1, Panel B**
***************************************
*Top Graph
interflex zlocineq zpbelow35zip pabove100zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)
mat list r(estBin)
*Bottom Graph
interflex zlocineq zpbelow35zip pabove125zip zmedinc16zip zpcollege16zip zpunemp16zip zpnonwht16zip zpden16zip zeducation2 lowmidincome midincome highmidincome highincome missingincome zAge2 male black latino aapi unemployed zpartyid2 sid, cluster(zip)
mat list r(estBin)
